package com.tianji.promotion.utils;

public enum LockType {
    RE_ENTRANT_LOCK(1, "可重入锁"), // 可重入锁
    FAIR_LOCK(2, "公平锁"), // 公平锁
    READ_LOCK(3, "读锁"), // 读锁
    WRITE_LOCK(4, "写锁"), // 写锁
    ;


    int value;
    String desc;

    LockType(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
